package cn.edu.lcu.cs.javalearning.oop.lambda;

import cn.edu.lcu.cs.javalearning.util.Accumulator;

public class LambdaDemo {
	public static void main(String[] args) {
		int[] nums = { 1, 2, 3, 4, 5, 6 };
		Accumulator accumulator = new Accumulator();
		System.out.println(accumulator.accumulate(nums));
	}

}
